var mongoose = require('../utils/mongoose');
const Schema = mongoose.Schema;

// 定义用户表Schema信息
var LicenseSchema = new Schema({
  company: { type: String },
  sourcecode: { type: String },
  radiuscode: { type: String },
  licensecode: { type: String },
  maxusers: { type: Number },
  expiredate: { type: String },
  userId: { type: String }
});

module.exports = mongoose.model('License', LicenseSchema);